package org.lion.proxy.output.student;

import org.lion.proxy.BaseOutput;

import java.util.List;


/**
 * @author：linchenxi on 2016/12/29 15:36
 * @description: 获取最近作业（作业首页）数据
 */
public class RecentHomeworkInfo extends BaseOutput {

    private List<RetlistBean> retlist;      //所有科目信息列表


    public List<RetlistBean> getRetlist() {
        return retlist;
    }

    public void setRetlist(List<RetlistBean> retlist) {
        this.retlist = retlist;
    }

    public static class RetlistBean {
        private long id;
        private String name;      //本学科名称
        private String avatar;    //学科相关图像，yj_member为会员图像; icon为科目列表可以用的图标
        private int hasnew;      //#该生对该学科有未读的任务信息个数
        private List<Latesttasks> latesttasks;      //该学科近期作业，按业务说明，首页最多显示二次作业

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public int getHasnew() {
            return hasnew;
        }

        public void setHasnew(int hasnew) {
            this.hasnew = hasnew;
        }

        public List<Latesttasks> getLatesttasks() {
            return latesttasks;
        }

        public void setLatesttasks(List<Latesttasks> latesttasks) {
            this.latesttasks = latesttasks;
        }
    }

    /**
     * avatar
     */
    public static class SubjectAvatar {
        private String yj_member;
        private String icon;
        private String icon_unset;

        public String getYj_member() {
            return yj_member;
        }

        public void setYj_member(String yj_member) {
            this.yj_member = yj_member;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getIcon_unset() {
            return icon_unset;
        }

        public void setIcon_unset(String icon_unset) {
            this.icon_unset = icon_unset;
        }
    }
}
